// Fonts
//@import url('https://fonts.googleapis.com/css?family=Nunito');

// Variables
@import 'variables';

// Bootstrap
@import '~bootstrap/scss/bootstrap';

// 用户头像
.user-avatar {
  width: 40px;
  height: 40px;
  border-radius: 100%;
  background-color: #0d6aad;
  text-align: center;
  line-height: 40px;
  font-size: 22px;
  font-weight: bold;
  color: #ffffff;
}

.product-index-page {
  .products-list {
    padding: 0 15px;

    .product-item {
      padding: 0 5px;

      .product-content {
        border: 1px solid #eee;
        margin-top: 20px!important;

        img {
          width: 100%;
        }

        .card-body {

          .title {
            margin-top: 10px;
            height: 32px;
            line-height: 12px;
            max-height: 32px;

            a {
              font-size: 12px;
              line-height: 14px;
              color: #333;
              text-decoration: none;
            }
          }

          .price {
            margin-top: 5px;
            font-size: 20px;
            color: #ff0036;

            b {
              font-size: 14px;
            }
          }
        }
      }
    }
  }
}


.product-show-page {
  .row {
    margin:20px 0;
  }

  // 竞拍界面
  .lite-chatbox {
    background-color: #f5f5f5;
    border-radius: 10px;
    height: 300px;
    padding: 15px 10px;
  }

  .cover {
    width: 100%;
    border: solid 1px #eee;
    padding: 30px 0;
  }

  .title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
  }

  .price {
    label {
      width: 69px;
      color: #999;
      font-size: 12px;
      padding-left: 10px;
    }

    em {
      font-size: 18px;
      font-style: normal;
      text-decoration: none;
      vertical-align: middle;
    }

    span {
      font-size: 24px;
      font-weight: bolder;
      text-decoration: none;
      vertical-align: middle;
    }

    line-height: 30px;
    background-color: #e9e9e9;
    color: red;
    font-size: 20px;
  }

  .buttons {
    margin-top: 20px;
  }

  .product-detail {
    .nav.nav-tabs > li > a {
      border-radius: 0 !important;
    }

    margin: 20px 0;

    .tab-content {
      border: 1px solid #eee;
      padding: 20px;
    }
  }

  .crowdfunding-info {
    margin-bottom: 20px;
    font-size: 14px;
    .have-text {
      font-size: 16px;
    }
    .total-amount {
      .symbol {
        font-size: 20px;
      }
      font-size: 32px;
    }
    .progress {
      height: 10px;
      margin-bottom: 5px;
    }
    .progress-info {
      font-weight: 600;
      margin: 10px 0;
    }
    .current-progress {
      color: rgb(161, 6, 224);
    }
    .text-red {
      color: red;
    }
  }
}
